/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Business;

import Entity.Etbl_Hotels;
import Model.DALtbl_Hotels;
import java.util.ArrayList;

/**
 *
 * @author MrKoi
 */
public class Btbl_Hotels {
    private DALtbl_Hotels _objDALtbl_Hotels=null;    

    public Btbl_Hotels() {
        _objDALtbl_Hotels=new DALtbl_Hotels();
    }
    
    public boolean addtbl_Hotels(Etbl_Hotels obj){
        return _objDALtbl_Hotels.addtbl_Hotels(obj);
    }
      
    public boolean edittbl_Hotels(Etbl_Hotels obj){
        return _objDALtbl_Hotels.edittbl_Hotels(obj);      
    }
      
    public boolean deletetbl_Hotels(int hotel_Id){
       return _objDALtbl_Hotels.deletetbl_Hotels(hotel_Id);
    }
    
    public Etbl_Hotels getOnetbl_Hotels(int hotel_Id){
         return _objDALtbl_Hotels.getOnetbl_Hotels(hotel_Id);
    }
      
    public ArrayList getListHotels(String orderBy, String ASCorDESC, String WhereClause, int PagingIndex, int PagingSize){        
        return _objDALtbl_Hotels.getListHotels(orderBy, ASCorDESC, WhereClause, PagingIndex, PagingSize);
    }
    
}
